﻿<Page
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:ReusableControls"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Controls="using:ReusableControls.Controls"
    x:Class="ReusableControls.MainPage"
    mc:Ignorable="d">
    
    <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
        <TextBox HorizontalAlignment="Left" Height="41" Margin="266,149,0,0" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Width="189"/>

        <Controls:ColoredTextBox HorizontalAlignment="Left" Margin="266,216,0,0" TextWrapping="Wrap" Text="ColoredTextBox" VerticalAlignment="Top" Height="46" Width="189"/>
        <Controls:Stars HorizontalAlignment="Left" Height="113" Margin="676,149,0,0" VerticalAlignment="Top" Width="417" Rating="{Binding Value, ElementName=slider}"/>
        <Slider x:Name="slider" HorizontalAlignment="Left" Height="38" Margin="678,278,0,0" VerticalAlignment="Top" Width="399" Maximum="1" StepFrequency="0.01"/>
        <Controls:Stars HorizontalAlignment="Left" Height="113" Margin="962.567,304.015,-13.567,0" VerticalAlignment="Top" Width="417" Rating="{Binding Value, ElementName=slider}" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto">
            <Controls:Stars.RenderTransform>
                <CompositeTransform Rotation="-90.915"/>
            </Controls:Stars.RenderTransform>
        </Controls:Stars>

    </Grid>
</Page>
